﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Qplus.enums
{
    public enum E_NOTIFY_TYPE
    {
        ENT_ROOM_INVITE
    };

    public enum E_MESSAGE_TYPE
    {
        EMT_TEXT, EMT_RESURL,
        EMT_PIC,
        EMT_PICEX,
        EMT_VOICEFILE,
        EMT_NOTIFY
    };

    public enum MMessageID
    {
        DEFUALT = -1,
        ERROR_PACKET = -2,
        FRIEND_LOAD_COMPLETED = -3,

        #region 用户登录、退出
        // 验证登陆
        C2L_REQ_LOGIN = 3000,
        // 验证登陆应答
        L2C_RESP_LOGIN = 3001,
        // 登陆用户服务器
        C2U_REQ_LOGIN = 3002,
        // 登陆用户服务器应答
        U2C_RESP_LOGIN = 3003,
        // 退出登录
        C2U_REQ_LOGOUT = 3004,
        // 退出登陆应答
        U2C_RESP_LOGOUT = 3005,
        // 心跳包
        C2U_NOTIFY_CLIENT_ONLINE = 3006,
        #endregion

        #region 系统消息
        U2C_NOTIFY_SYSTEM_MSG = 3100,
        U2C_SYN_FORCE_LOGOUT = 3101,
        C2U_REQ_SHORT_MSG = 3102,
        U2C_RESP_SHORT_MSG = 3103,
        U2C_NOTIFY_SHORT_MSG = 3104,
        #endregion

        #region 客服聊天
        // 开始会话请求
        C2U_REQ_CUSTOMER_SERVICE = 3200,
        // 连接客服应答
        U2C_RESP_CUSTOMER_SERVICE = 3201,
        //请求单聊开始
        C2U_REQ_SESSION_BEGIN = 3202,
        U2C_RESP_SESSION_BEGIN = 3203,
        U2C_NOTIFY_SESSION_BEGIN = 3204,
        //结束会话
        C2U_REQ_SESSION_END = 3205,
        U2C_RESP_SESSION_END = 3206,
        U2C_NOTIFY_SESSION_END = 3207,
        //消息
        C2U_REQ_CHAT_SENDMSG = 3208,
        U2C_RESP_CHAT_SENDMSG = 3209,
        U2C_NOTIFY_CHAT_RECVMSG = 3210,
        //发送接收语音
        C2U_REQ_CHAT_VOICEBEGIN = 3211,
        U2C_RESP_CHAT_VOICEBEGIN = 3212,
        U2C_NOTIFY_CHAT_VOICEBEGIN = 3213,
        C2U_REQ_CHAT_VOICEDATA = 3214,
        U2C_NOTIFY_CHAT_VOICEDATA = 3215,
        C2U_REQ_CHAT_VOICEEND = 3216,
        U2C_RESP_CHAT_VOICEEND = 3217,
        U2C_NOTIFY_CHAT_VOICEEND = 3218,
        #endregion

        #region 聊天室
        C2U_REQ_ROOM_PEOPLE_COUNT = 3300,
        U2C_RESP_ROOM_PEOPLE_COUNT = 3301,
        C2U_REQ_ENTER_ROOM = 3302,
        U2C_RESP_ENTER_ROOM = 3303,
        C2U_REQ_LEAVE_ROOM = 3304,
        U2C_RESP_LEAVE_ROOM = 3305,
        C2U_REQ_ROOM_SENDMSG = 3306,
        U2C_RESP_ROOM_SENDMSG = 3307,
        U2C_NOTIFY_ROOM_RECVTMSG = 3308,
        C2U_REQ_ROOM_VOICEBEGIN = 3309,
        U2C_RESP_ROOM_VOICEBEGIN = 3310,
        U2C_NOTIFY_ROOM_VOICEBEGIN = 3311,
        C2U_REQ_ROOM_SENDVOICE = 3312,
        U2C_NOTIFY_ROOM_RECVVOICE = 3313,
        C2U_REQ_ROOM_VOICEEND = 3314,
        U2C_RESP_ROOM_VOICEEND = 3315,
        U2C_NOTIFY_ROOM_VOICEEND = 3316,
        C2U_REQ_USER_LIST = 3317,
        U2C_RESP_USER_LIST = 3318,
        U2C_NOTIFY_ROOM_MSGLOG_RECORD = 3319,//(保留未用)
        #endregion

        #region 客服权限
        C2U_REQ_ROOM_BANNED = 3400,
        U2C_NOTIFY_ROOM_BANNED = 3401,
        U2C_RESP_ROOM_BANNED = 3402,
        #endregion

    };
}